<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog ms-modal-dialog" style="margin-top:50px;" >
  <div class="modal-content">
     
    <div class="modal-header">
      <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
      <h4 class="modal-title">新增课程信息</h4>
    </div>
    
      <form class="form-horizontal ms-form form-personal-info" method="POST" action="${ctx.host}/courses" data-validate="true">
        
         <div class="modal-body">
             
            
            <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>课程名称：</label>
	          <div class="col-xs-8">
	            <input type="text" class="form-control" name="name" value="" placeholder="名称" data-validate="required" autocomplete="off" tabindex="1"/>
	          </div>
	        </div>
	        <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>课程时长：</label>
	          <div class="col-xs-8">
	            <input type="text" class="form-control" name="hour" value="" placeholder="课程时长" data-validate="required|float|length_between,1,4" autocomplete="off" tabindex="2"/>
	          </div>
	        </div>
            <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>课程目标：</label>
	          <div class="col-xs-8">
	          	<textarea name="target"   cols="45"   rows="4"   style="OVERFLOW:   hidden"></textarea>
	          </div>
	        </div>
            <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>课程介绍：</label>
	          <div class="col-xs-8">
	          	<textarea name="description"   cols="45"   rows="4"   style="OVERFLOW:   hidden"></textarea>
	          </div>
	        </div>
	      
	     
	        <div class="form-group  ms-form-group">
	          <label class="control-label col-xs-3"><span class="text-red">*</span>课程类型：</label>
	          <div class="col-xs-8">
					<select class="select2 form-control" name="type"  tabindex="7">
		                <option value=""></option>
		                <option value="管理类">管理类</option>
		                <option value="专业通识类">专业通识类</option>
		            </select>	          
	          </div>
	        </div>
        
        </div>
      <div class="modal-footer ms-modal-footer">
        <button type="submit" class="btn btn-shadow-success btn-shadow umu-btn" >确定</button>
        <button type="button" class="btn btn-shadow-default btn-shadow umu-btn" data-dismiss="modal">取消</button>
      </div>

      </form>
    
  </div>
</div>
